﻿using System.ComponentModel.DataAnnotations.Schema;
using Swimj.ApplicationLib.Entities;

namespace DataServer.ApplicationLib.Entities
{
    [Table("DS_DATASOURCEFIELD")]
    public class SourceFieldEntity : AuditableEntity
    {
        public string? FieldCode { get; set; }

        public string? FieldName { get; set; }

        public Guid DataSourceId { get; set; }

        public string? DisplayName { get; set; }

        public bool IsVisible { get; set; }

        public string? FieldDescription { get; set; }

        public string? FieldDataType { get; set; }

        public int FieldDbLength { get; set; }

        public bool FieldDbIsNull { get; set; }

        public int Sort { get; set; }
    }
}
